package com.onepiece.shipelves.common.ticker;

/**
 * @author wangxj
 * @Desc: 交易对扩展信息
 * 一个交易对的信息字段，但是又不属于基本信息的存到这里
 * @date 2020-01-15
 */
public class PairExtInfo extends PairBaseInfo {

    private String exchange;

    private String exchangeLogo;

    private String coinLogo;

    public PairExtInfo() {
    }

    public PairExtInfo(PairBaseInfo pairBaseInfo, String exchange, String exchangeLogo, String coinLogo) {
        super(pairBaseInfo.getCoinKey(), pairBaseInfo.getSymbol(), pairBaseInfo.getSymbolShow(), pairBaseInfo.getCurrency(), pairBaseInfo.getCurrencyShow(),
                pairBaseInfo.getFuture(), pairBaseInfo.getExchangeKey(), pairBaseInfo.getExchangeFutureKey(), pairBaseInfo.getTradeType(), pairBaseInfo.getAbnormalStatus());
        this.exchange = exchange;
        this.exchangeLogo = exchangeLogo;
        this.coinLogo = coinLogo;
    }


    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getExchangeLogo() {
        return exchangeLogo;
    }

    public void setExchangeLogo(String exchangeLogo) {
        this.exchangeLogo = exchangeLogo;
    }

    public String getCoinLogo() {
        return coinLogo;
    }

    public void setCoinLogo(String coinLogo) {
        this.coinLogo = coinLogo;
    }
}
